package com.ruoyi.salary.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 社保公积金对象 hr_social_security_fund
 * 
 * @author gy
 * @date 2025-05-21
 */
public class HrSocialSecurityFund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String empName;

    /** 部门 */
    @Excel(name = "部门")
    private String deptName;

    /** 月份(yyyy-MM) */
    @Excel(name = "月份(yyyy-MM)")
    private String month;

    /** 社保金额 */
    @Excel(name = "社保金额")
    private BigDecimal socialSecurity;

    /** 公积金金额 */
    @Excel(name = "公积金金额")
    private BigDecimal housingFund;

    /** 缴纳日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "缴纳日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date payDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setEmpName(String empName) 
    {
        this.empName = empName;
    }

    public String getEmpName() 
    {
        return empName;
    }

    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }

    public void setMonth(String month) 
    {
        this.month = month;
    }

    public String getMonth() 
    {
        return month;
    }

    public void setSocialSecurity(BigDecimal socialSecurity) 
    {
        this.socialSecurity = socialSecurity;
    }

    public BigDecimal getSocialSecurity() 
    {
        return socialSecurity;
    }

    public void setHousingFund(BigDecimal housingFund) 
    {
        this.housingFund = housingFund;
    }

    public BigDecimal getHousingFund() 
    {
        return housingFund;
    }

    public void setPayDate(Date payDate) 
    {
        this.payDate = payDate;
    }

    public Date getPayDate() 
    {
        return payDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("empName", getEmpName())
            .append("deptName", getDeptName())
            .append("month", getMonth())
            .append("socialSecurity", getSocialSecurity())
            .append("housingFund", getHousingFund())
            .append("payDate", getPayDate())
            .toString();
    }
}
